package com.gosophia.commons.persistence.test.organizationManagement.entity;

import java.util.Date;

import javax.persistence.Id;

import com.gosophia.commons.persistence.AbstractEntity;
import com.gosophia.commons.persistence.BusinessKey;

/**
 * 用户详细信息实体
 * @author nana
 *
 */
public class UserInfo extends AbstractEntity{

    /**
     * 用户详细信息Id
     */
    private Long userInfoId;
    
    /**
     * 姓名 
     */
    private String userName;
    
    /**
     * 性别
     */
    private Long userSex;
    
    /**
     * 民族
     */
    private Long userNational;
    /**
     * 地址
     */
    private String userAddress;
    
    /**
     * 出生日期
     */
    private Date userBirthday;
    
    /**
     * 电话
     */
    private String userTelephone;
    
    /**
     * 政治面貌
     */
    private Long userPolistatus;
    
    /**
     * 邮箱
     */
    private String userEmail;
    
    /**
     * 备注
     */
    private String userInfoNote;
    
    /**
     * 版本
     */
    private Long version;

    @Id
    @BusinessKey
    public Long getUserInfoId() {
        return userInfoId;
    }

    public void setUserInfoId(Long userInfoId) {
        this.userInfoId = userInfoId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserAddress() {
        return userAddress;
    }

    public void setUserAddress(String userAddress) {
        this.userAddress = userAddress;
    }

    public Date getUserBirthday() {
        return userBirthday;
    }

    public void setUserBirthday(Date userBirthday) {
        this.userBirthday = userBirthday;
    }

    public String getUserTelephone() {
        return userTelephone;
    }

    public void setUserTelephone(String userTelephone) {
        this.userTelephone = userTelephone;
    }

    public String getUserEmail() {
        return userEmail;
    }

    public void setUserEmail(String userEmail) {
        this.userEmail = userEmail;
    }

    public String getUserInfoNote() {
        return userInfoNote;
    }

    public void setUserInfoNote(String userInfoNote) {
        this.userInfoNote = userInfoNote;
    }

    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }

    public Long getUserSex() {
        return userSex;
    }

    public void setUserSex(Long userSex) {
        this.userSex = userSex;
    }

    public Long getUserNational() {
        return userNational;
    }

    public void setUserNational(Long userNational) {
        this.userNational = userNational;
    }

    public Long getUserPolistatus() {
        return userPolistatus;
    }

    public void setUserPolistatus(Long userPolistatus) {
        this.userPolistatus = userPolistatus;
    }
  
}
